package com.myway.dto.product;

import com.myway.dto.order.DTOPaxSegment;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;


public class DTOSupportBusinessOrder implements Serializable {

	private static final long serialVersionUID = -6637336137670728768L;

	/**主键**/
	private Long id;

	/**订单编号**/
	private String orderNo;
	
	/**付费金额**/
	private BigDecimal amount;

	/**取消时间**/
	private Date cancelTime;

	/**创建时间**/
	private Date createTime;

	/**使用积分**/
	private BigDecimal pointaMount;

	/**状态**/
	private String status;

	/**辅营产品ID**/
	private Long supportBusinessId;

	/**辅营产品类型**/
	private String supportBusinessType;
	
	/**用户ID**/
	private String userId;
	
	/**旅客姓名**/
	private String passengerName;
	
	/*证件类型*/
	private String identificationType;
	
	/*证件号码*/
	private String identificationNo;
	
	/**订单来源-B2C-CC**/
	private String source;
	
	//规则id
	private String ruleId;

	//新增属性机票订单号
	private String ticketOrderNo;
	//新增属性电子客票号
	private String ticketNo;
	//新增航班号
	private String flightNo;
	//新增航班日期
	private Date flightDate;
	//新增始发地
	private String orgCity;
	//新增目的地
	private String dstCity;
	//新增属性订单id
	private Long orderId;
	//新增辅营产品名称字段
	private String merchantName;
	//新增旅客航段id
	private Long paxId;
	//查询订单结束日期
	private Date createTimeEnd;
	//新增手机号码字段
	private String mobileNumber;
	
	//快速登离机【类型】
	private String productSname;
	
	private DTOPaxSegment dtoPax;
	
	private List<DTOSupportbusinessOrderPayment> dtoPamentList;
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public BigDecimal getAmount() {
		if(amount==null)amount=new BigDecimal(0);
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		if(amount==null)amount=new BigDecimal(0);
		this.amount = amount;
	}

	public Date getCancelTime() {
		return cancelTime;
	}

	public void setCancelTime(Date cancelTime) {
		this.cancelTime = cancelTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public BigDecimal getPointaMount() {
		if(pointaMount==null)pointaMount=new BigDecimal(0);
		return pointaMount;
	}

	public void setPointaMount(BigDecimal pointaMount) {
		if(pointaMount==null)pointaMount=new BigDecimal(0);
		this.pointaMount = pointaMount;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Long getSupportBusinessId() {
		return supportBusinessId;
	}

	public void setSupportBusinessId(Long supportBusinessId) {
		this.supportBusinessId = supportBusinessId;
	}

	public String getSupportBusinessType() {
		return supportBusinessType;
	}

	public void setSupportBusinessType(String supportBusinessType) {
		this.supportBusinessType = supportBusinessType;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getPassengerName() {
		return passengerName;
	}

	public void setPassengerName(String passengerName) {
		this.passengerName = passengerName;
	}

	public String getIdentificationType() {
		return identificationType;
	}

	public void setIdentificationType(String identificationType) {
		this.identificationType = identificationType;
	}

	public String getIdentificationNo() {
		return identificationNo;
	}

	public void setIdentificationNo(String identificationNo) {
		this.identificationNo = identificationNo;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getRuleId() {
		return ruleId;
	}

	public void setRuleId(String ruleId) {
		this.ruleId = ruleId;
	}

	public String getTicketOrderNo() {
		return ticketOrderNo;
	}

	public void setTicketOrderNo(String ticketOrderNo) {
		this.ticketOrderNo = ticketOrderNo;
	}

	public String getTicketNo() {
		return ticketNo;
	}

	public void setTicketNo(String ticketNo) {
		this.ticketNo = ticketNo;
	}

	public String getFlightNo() {
		return flightNo;
	}

	public void setFlightNo(String flightNo) {
		this.flightNo = flightNo;
	}

	public Date getFlightDate() {
		return flightDate;
	}

	public void setFlightDate(Date flightDate) {
		this.flightDate = flightDate;
	}

	public String getOrgCity() {
		return orgCity;
	}

	public void setOrgCity(String orgCity) {
		this.orgCity = orgCity;
	}

	public String getDstCity() {
		return dstCity;
	}

	public void setDstCity(String dstCity) {
		this.dstCity = dstCity;
	}

	public Long getOrderId() {
		return orderId;
	}

	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}

	public String getMerchantName() {
		return merchantName;
	}

	public void setMerchantName(String merchantName) {
		this.merchantName = merchantName;
	}

	public Long getPaxId() {
		return paxId;
	}

	public void setPaxId(Long paxId) {
		this.paxId = paxId;
	}

	public DTOPaxSegment getDtoPax() {
		return dtoPax;
	}

	public void setDtoPax(DTOPaxSegment dtoPax) {
		this.dtoPax = dtoPax;
	}

	public List<DTOSupportbusinessOrderPayment> getDtoPamentList() {
		return dtoPamentList;
	}

	public void setDtoPamentList(List<DTOSupportbusinessOrderPayment> dtoPamentList) {
		this.dtoPamentList = dtoPamentList;
	}

	public Date getCreateTimeEnd() {
		return createTimeEnd;
	}

	public void setCreateTimeEnd(Date createTimeEnd) {
		this.createTimeEnd = createTimeEnd;
	}

	public String getMobileNumber() {
		return mobileNumber;
	}

	public void setMobileNumber(String mobileNumber) {
		this.mobileNumber = mobileNumber;
	}

	public String getProductSname() {
		return productSname;
	}

	public void setProductSname(String productSname) {
		this.productSname = productSname;
	}
	
}